

import LayoutWithSidebar from '@/components/Layout/LayoutWithSidebar';
import LayoutWithoutSidebar from '@/components/Layout/LayoutWithoutSidebar';
import CommonView from '@/components/routerview';
// 组织相关

// 组织管理
const OrgManageHome= () => import('@/views/org/dept/manage/home/index.vue');
const OrgManageSort= () => import('@/views/org/dept/manage/sort/index.vue');


// 岗位管理
const JobManagement= () => import('@/views/org/job/job-management/index.vue');
const JobCategory= () => import('@/views/org/job/job-category/index.vue');
const JobDetail= () => import('@/views/org/job/job-detail/index.vue');

const AddRuleHome = () => import('@/views/company-settings/add-rule/home.vue');
const AddRuleDetail = () => import('@/views/company-settings/add-rule/detail.vue')

const companySettings = {
    path: '/company-settings',
    component: LayoutWithSidebar,
    redirect: "/company-settings/add-rule",
    meta:{
      name:"企业设置"
    },
    children: [
      {
        path: 'add-rule',
        component: CommonView,
        redirect: "/company-settings/add-rule/home",
        meta:{
          name:"添加人员规则 "
        },
        children: [
          {
            path: 'home',
            component:AddRuleHome,
            meta:{
              name:"home"
            },
          },
          {
            path: 'detail',
            component: AddRuleDetail,
            meta:{
              name:"详情"
            },
          }
        
        ]
      }
    ],
   
  }

export default companySettings;